import type { Login } from '@/model'
import request from '@/utils/request'

// 更新密码
export const getEamil = (email: Login) => 
  request.post('/sendEmail', JSON.stringify(email), {
    headers: {
      'Content-Type': 'application/json'
    }
  })
